<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>修改考试信息</title>
    <link rel="stylesheet" href="layui/css/layui.css">
    <script src="layui/layui.js"></script>
    <script>
        layui.use('form', function () {
            var form = layui.form;
            //各种基于事件的操作，下面会有进一步介绍
        });
        layui.use('laydate', function () {
            var laydate = layui.laydate;

            //执行一个laydate实例
            laydate.render({
                elem: '#test1' //指定元素
                , type: 'datetime'
                , value:'2020-05-06 10:30:00'
            });
        });
    </script>
</head>

<body>
        <h2 align=center>修改考试信息</h2>
        <form class="layui-form" action="">
            <div class="layui-form-item">
                <label class="layui-form-label">考试时间</label>

                <div class="layui-input-block">
                    <input type="text" name="title" id="test1" required lay-verify="required" placeholder="请输入考试时间"
                        autocomplete="off" class="layui-input">
                </div>
            </div>
            <label class="layui-form-label">考试学院</label>
            <div class="layui-input-block">
                <select name="city" lay-verify="required">
                    <option value="">请选择所属学院</option>
                    <option value="0">政治学院</option>
                    <option value="1">理学院</option>
                    <option value="2" selected>信息学院</option>
                    <option value="3">外语学院</option>
                    <option value="4">体育学院</option>
                    <option value="5">汽车学院</option>
                    <option value="6">道桥学院</option>
                </select>
            </div>
            </div><br>
            <div class="layui-form-item">
                <label class="layui-form-label">考试课程</label>
                <div class="layui-input-block">
                    <input type="text" name="title" required lay-verify="required" placeholder="软件详细设计"
                        autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">考试班级</label>
                <div class="layui-input-block">
                    <input type="text" name="title" required lay-verify="required" placeholder="2017240206"
                        autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">考试教室</label>
                <div class="layui-input-block">
                    <input type="text" name="title" required lay-verify="required" placeholder="WM1101"
                        autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">类型设置</label>
                <div class="layui-input-block">
                    <input type="radio" name="exam_type" title="标准考试(90min)" checked>
                    <input type="radio" name="exam_type" title="标准加强考试(120min)">
                    <input type="radio" name="exam_type" title="特殊类型考试(180min)">
                </div>
            </div>
            <div class="layui-form-item layui-form-text">
                <label class="layui-form-label">补充说明</label>
                <div class="layui-input-block">
                    <textarea name="desc" placeholder="如有补充说明的内容，请在此补充" class="layui-textarea"></textarea>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button class="layui-btn" lay-submit lay-filter="formDemo">提交修改</button>
                    <a href="exam_info.html" class="layui-btn layui-btn-primary">取消修改</a>
                </div>
            </div>
        </form>
</body>

</html>